package com.dify.tool.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 智能体历史记录响应实体
 * </p>
 *
 * @author shl
 * @since 2025-07-28
 */
@Data
public class AgentHistoryRecordVO implements Serializable {

    @Schema(description = "用户id")
    private String userId;

    @Schema(description = "会话id")
    private String sessionId;

    @Schema(description = "消息id")
    private String messageId;

    @Schema(description = "消息类型：1用户输入 2智能体回复 3系统消息")
    private Integer messageType;

    @Schema(description = "消息内容")
    private String messageContent;

    @Schema(description = "1无反馈 2点赞 3差评")
    private Integer isLike;

    @Schema(description = "发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;
}
